package cn.wp.ewallet.upms.model.entity;

import cn.wp.common.core.dao.annotation.Column;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName LoginUserDoo
 * @Author ruixule
 * @Description TODO
 * @Date 2019/12/27 12:03
 */
@Data
public class LoginUserDoo {


    /**
     * 主要整合了一下参数  systemUserInfoDo、 职称Id 、职称名称、员工name、员工phone、员工email
     */
    //系统用户唯一标识
    @Column("SYS_USER_ID")
    private String sysUserId;

    @Column("STAFF_ID")
    private String staffId;

    @Column("SYS_USER_CODE")
    private String sysUserCode;

    @Column("PASSWORD")
    private String password;

    //密码错误次数限制
    @Column("PWD_ERR_CNT")
    private int pwdErrCnt;

    //1000 未激活  1100 激活  1200 冻结  1300 失效
    @Column("PWD_STATUS")
    private String pwdStatus;

    // 密码有效天数
    @Column("PWD_EFFECT_DAYS")
    private int pwdEffectDays;

    @Column("LIMIT_COUNT")
    private int limitConut;

    @Column("LOGINED_NUM")
    private int loginedNum;
    // 系统用户描述
    @Column("SYS_USER_DESC")
    private String sysUserDesc;

    // 系统用户生效时间
    @Column("EFF_DATE")
    private Date effDate;

    //  系统用户失效时间
    @Column("EXP_DATE")
    private Date expDate;

    //   1000-有效  1100-无效
    @Column("STATUS")
    private String status;

    @Column("CREATE_STAFF")
    private String createStaff;

    @Column("CREATE_DATE")
    private Date createDate;

    @Column("UPDATE_STAFF")
    private String updateStaff;

    @Column("UPDATE_DATE")
    private Date updateDate;

    @Column("POST_ID")
    private String postId;
    @Column("POST_NAME")
    private String postName;

    @Column("staff_name")
    private String staffName;

    @Column("phone")
    private String phone;
    @Column("email")
    private String email;


}
